package org.csu.small.vo;

import lombok.Data;
import org.csu.small.entity.Shipping;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author SongYaolun
 * @version 1.0
 * @date 2020/7/4 10:45
 */
@Data
public class OrderVo {

    private BigInteger orderNo;

    //支付以及金额相关
    private BigDecimal paymentPrice;
    private Integer paymentType;
    private String paymentTypeDesc;
    private Integer postage;
    private BigDecimal point;

    //状态及其状态描述
    private Integer status;
    private String statusDesc;

    //时间部分
    private LocalDateTime createTime;
    private LocalDateTime paymentTime;
    private LocalDateTime sendTime;
    private LocalDateTime endTime;
    private LocalDateTime closeTime;

    //订单的明细
    private List<OrderItemVo> orderItemVoList;

    //其余必要项
    private String imageHost;
    private Integer shippingId;
    private String receiverName;
    private ShippingVo shippingVo;

}
